<?php
class Zend_Nosql_Mongo_Document
    extends Zend_Nosql_Mongo_Object
    implements Zend_Nosql_Mongo_Document_Interface {
 
    public function __construct($data, Zend_Nosql_Mongo_Collection $collection) {}
         
    public function getId() {}
    public function getCollection() {}
     
    public function save() {}
     
    public function isChanged() {}
    public function commit() {}
     
    /*
     * and functions for atomic operations
     * see http://www.mongodb.org/display/DOCS/Updating#Updating-ModifierOperations
     * see http://code.google.com/p/mongodloid/
     */
}
?>